favourite_places={
    'wmy':['Nanjing'],
    'zsh':['Guangzhou','Shanghai'],
    'hy':['Suzhou','Guangzhou'],
}
for name,places in favourite_places.items():
    if len(places)==1:
        print(f"{name}'s favourite places is : ")
        print(f"\t{places[0]}")
    else:
        print(f"{name}'s favourite places are")
        for place in places:
            print(f"\t{place}")

